package com.smile.model.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@ToString
@TableName("feisuan_flight_log")
public class FeisuanFlightLog implements Serializable {
    private static final Long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;



    /**
     * 飞行任务id
     */
    @TableField("flight_id")
    private String FlightId;

    /**
     * 网关
     */
    @TableField("gateway_sn")
    private String gatewaySn;



    /**
     * 创建时间
     */
    @TableField("create_time")
    private LocalDateTime createTime;


    /**
     * 更新时间
     */
    @TableField("modify_time")
    private LocalDateTime modifyTime;

    /**
     * 删除状态
     */
    @TableField("delete_status")
    private Boolean deleteStatus;

    @TableField("longitude")
    private BigDecimal longitude;

    @TableField("latitude")
    private BigDecimal latitude;

    @TableField("altitude")
    private BigDecimal altitude;

    @TableField("height")
    private BigDecimal height;

    @TableField("speed_x")
    private Double speedX;

    @TableField("speed_y")
    private Double speedYy;

    @TableField("speed_z")
    private Double speedZ;

    @TableField("gimbal_pitch")
    private Double gimbalPitch;


    @TableField("attitude_head")
    private Double attitudeHead;
    @TableField("gimbal_roll")
    private Double gimbalRoll;

    @TableField("gimbal_yaw")
    private BigDecimal gimbalYaw;
}
